class Solution(object):
    def areNumbersAscending(self, s):
        t = s.split(' ')
        last = -1
        for c in t:
            if '0' <= c[0] <= '9':
                m = int(c)
                if m > last:
                    last = m
                else:
                    return False
        return True